const req = require.context('./', false, /\.png|\.svg|\.webp$/)
const imgIconMap = {}
req.keys().forEach((key) => {
    imgIconMap[key.substring(2).replace(/\.png|\.svg|\.webp$/, '')] = req(key)
})

export default imgIconMap
